<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title> 
    <style>
       .nav ul a {
            color: red;
        }
        .hot>a {
            color: red;
        }

        a:link  {
            text-decoration: none;
            color: #333;
        }
        a:visited {
            text-decoration: none;
            color: orange;
        }
        a:hover {
            text-decoration: none;
            color: blue;
        }

        input:focus {
            background-color: red;
        }
    </style>
</head>
<body>
    <div class="nav">
        <ul>
            <li><a href="#">百度</a></li>
            <li><a href="#">百度</a></li>
        </ul>


    </div>
    <div class="hot">
        <a href="#">大肘子</a>
        <ul>
            <li><a href="#">猪头</a></li>
            <li><a href="#">猪尾巴</a></li>
        </ul>
    </div>



    <a href="#" class="ankor">小猪佩奇</a>

    <input type="text"><input type="text"><input type="text">

    
</body>
</html>